namespace Snooze
{
	using System;
	using System.Web;
	
	using Castle.ActiveRecord;
	using Castle.ActiveRecord.Framework.Config;
	
	using Snooze.Model;

    using System.Collections;
    using Castle.ActiveRecord.Framework;
    using System.Configuration;
    using System.Collections.Generic;
	

	public class GlobalApplication : HttpApplication
	{

		public void Application_OnStart()
		{
            // initialize activerecord
            Model.Init.Instance.Initialize(Server.MapPath("/"));
            
            // enable logging
            log4net.Config.XmlConfigurator.Configure();

            
            
		}

		public void Application_OnEnd() 
		{
		}
	}
}
